#!/usr/bin/env python
# encoding:utf-8
'''
map 使用
'''


def pow_func(x):
    return x * x


def test_map_func():
    list = [1, 2, 3, 3, 4, 5, 4, 5, 5, 6, 6, 7, 8, 9, 89, 90]
    rmap = map(pow_func, list)
    r = [x for x in rmap if x > 100]
    print(r)


if __name__ == '__main__':
    test_map_func()
